﻿<%
	String pathl = request.getContextPath();
	String basePathl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+pathl+"/";
%>
		<!-- 本页面涉及的js函数，都在head.jsp页面中     -->
		<div id="sidebar" class="">

				<div id="sidebar-shortcuts">

					<div id="sidebar-shortcuts-mini">
						<span class="btn btn-success"></span>

						<span class="btn btn-info"></span>

						<span class="btn btn-warning"></span>

						<span class="btn btn-danger"></span>
					</div>

				</div><!-- #sidebar-shortcuts -->


            <ul class="nav nav-list">

                <li class="active" id="fhindex">
                    <a href="${ctx }/index/home"><i class="icon-dashboard"></i><span>后台首页</span></a>
                </li>
                <c:forEach items="${menuList}" var="menu" varStatus="s">
                <c:if test="${menu.permissionLevel eq '1' }">
                <li id="lm${menu.id }">
                    <a style="cursor:pointer;" class="dropdown-toggle" >
                        <i class="${menu.icon == null ? 'icon-desktop' : menu.icon}"></i>
                        <span>${menu.permissionName }</span>
                        <b class="arrow icon-angle-down"></b>
                    </a>
                    <ul class="submenu">
                        <c:forEach items="${menu.child }" var="menu2">
                            <c:if test="${menu2.parentId eq menu.id }">
                                <li id="z${menu2.id }">
                                    <a style="cursor:pointer;" target="mainFrame"  onclick="siMenu('z${menu2.id }','lm${menu2.parentId }','${menu2.permissionName }','/${menu2.action }')"><i class="icon-double-angle-right"></i>${menu2.permissionName }</a>
                                </li>
                            </c:if>
                        </c:forEach>
                    </ul>
                    </c:if>
                    </c:forEach>
            </ul><!--/.nav-list-->

				<div id="sidebar-collapse"><i class="icon-double-angle-left"></i></div>

			</div><!--/#sidebar-->

